package com.mall.order.dal.persistence;

import com.mall.commons.tool.tkmapper.TkMapper;
import com.mall.order.dal.entitys.Order;
import com.mall.order.dto.PayOrderSuccessRequest;

public interface OrderMapper extends TkMapper<Order> {
    Long countAll();

    /**
     *  支付成功，更新订单状态为 已付款
     *
     */
    int updatePaySuccessOrderStatus(PayOrderSuccessRequest request);
}